package com.hst.capacity.application.quartz;


import com.hst.capacity.application.quartz.service.VirtualAcceptOrderService;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class VirtualAcceptOrderQuartz extends QuartzJobBean {

	@Autowired
	private VirtualAcceptOrderService virtualAcceptOrderService;

	@Override
	protected void executeInternal(JobExecutionContext context) throws JobExecutionException {

		virtualAcceptOrderService.virtualAcceptOrder();

	}

}
